<?php
/**
 * View parcial para campo form admin
 * @param campo
 * @param cabecalho
 * @param valor
 * @param required
 */
$campo = $this->campo;
$cabecalho = $this->cabecalho;
$valor = $this->valor;
if(empty($valor)){
?>
<label for="<?php echo $campo; ?>"><?php echo $cabecalho; ?></label>
<input class="text-input large-input {validate: {required: <?php echo (isset($this->required) && $this->required == false) ? 'false' : 'true'; ?>}}" type="password" id="<?php echo $campo; ?>" name="<?php echo $campo; ?>" value="<?php echo $valor; ?>" />
<?php 
}
?>
